package com.pyl.admin.system.validator;

import java.io.Serializable;

import javax.validation.constraints.NotEmpty;

import lombok.Data;

/**
 * @author 灵魂贰婶
 * @date 2018/8/14
 */
@Data
public class RoleForm implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = -2695028137546467724L;
	
	private Long id;
	
	@NotEmpty(message = "角色编号不能为空")
	private String name;
	
	@NotEmpty(message = "角色名称不能为空")
	private String title;
	
	private String remark;
	
}
